import request from '@/utils/request'

// 查询app升级管理列表
export function listAppRelease(query) {
  return request({
    url: '/tms/appRelease/list',
    method: 'get',
    params: query
  })
}

// 查询app升级管理详细
export function getAppRelease(id) {
  return request({
    url: '/tms/appRelease/' + id,
    method: 'get'
  })
}

// 新增app升级管理
export function addAppRelease(data) {
  return request({
    url: '/tms/appRelease',
    method: 'post',
    data: data
  })
}

// 修改app升级管理
export function updateAppRelease(data) {
  return request({
    url: '/tms/appRelease',
    method: 'put',
    data: data
  })
}

// 删除app升级管理
export function delAppRelease(id) {
  return request({
    url: '/tms/appRelease/' + id,
    method: 'delete'
  })
}
